#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <unistd.h>
#include "myString.hpp"

using namespace std;

void Print(MyString &s){
    cout<<"empty: "<<s.empty()<<endl;
    cout<<"size: "<<s.size()<<endl;
    cout<<"capacity: "<<s.capacity()<<endl;
    cout<<"date: "<<s<<endl;
    cout<<"count: "<<s.counts()<<endl;

    cout<<endl;
}

void tese1(){
    MyString s1("123456");
    MyString s2(s1);
    char c = s1[2];
    cout<<c<<endl;
    cout<<"==========="<<endl;
    cout<<(s1[2]>'p')<<endl;
    cout<<('p'<s1[2])<<endl;
    cout<<"==========="<<endl;


}

int main()
{
    tese1(); 
    return 0;
}

